<template>
	<web-view :src="path"></web-view>
</template>

<script setup>
	import {
		ref
	} from 'vue';
	import {
		onShow,
		onLoad
	} from "@dcloudio/uni-app"

	const path = ref('');

	onLoad((query) => {
		path.value = decodeURIComponent(query.path||"");
		uni.setNavigationBarTitle({
			title: query.title
		});
	})
</script>

<style lang="scss" scoped>

</style>